package com.hiwan.unions.activity.system;

import android.content.Intent;
import android.view.View;

import com.hiwan.unions.R;
import com.hiwan.unions.activity.base.RootActivity;

/**
 * Created by llg on 2017/7/8.
 */
public class AccountActivity extends RootActivity {

    @Override
    protected int getLayout() {
        return R.layout.activity_account;
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void onViewCreated() {
        super.onViewCreated();
        setTitleTxt("账户安全");
    }

    public void ButtonOnClick(View view) {
        switch (view.getId()) {
            case R.id.ph_layout:
                startActivity(new Intent(this, UpdatePhoneActivity.class));
                break;
            case R.id.update_layout:
                startActivity(new Intent(this, UpdatePassword.class));
                break;
        }
    }
}
